#pragma once
#include "Gate.h"
#include "NOT.h"
#include "OR.h"
class NOR : virtual public Gate
{
private:
	NOR( const char* );
public:
	NOR(void);
	~NOR(void);
	void Calculation();
	Input* GetInputForLink();
	void LinkOutputWith(Input* input);
	Node* clone();
private:
	NOT *notGate;
	OR *orGate;
	
private:
	static NOR cInstance;
};
